const webpack = require('webpack')
const webpackConfig = require('../config/webpack.prod.conf')
const compiler  = webpack(webpackConfig)
compiler.run()
// const watching = compiler.watch({
//     // [watchOptions](/configuration/watch/#watchoptions) 示例
//     aggregateTimeout: 300,
//     poll: undefined
//   }, (err, stats) => { // [Stats Object](#stats-object)
//     // 这里打印 watch/build 结果...
//     console.log(stats);
//   })